JBoss Community Archive (Read Only)

Teiid 8.3

ORDER BY Clause

The ORDER BY clause specifies how records should be sorted. The options are ASC (ascending) and DESC (descending).

Usage:

ORDER BY expression \[ASC|DESC] \[NULLS \(FIRST|LAST)], ...

Syntax Rules:

Warning

The use of positional ordering is no longer supported by the ANSI SQL standard and is a deprecated feature in Teiid. It is preferable to use alias names in the order by clause.

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 12:38:14 UTC, last content change 2013-03-14 16:28:31 UTC.